/*
 * @Descripttion: 
 * @version: 
 * @Author: 高月飞
 * @Date: 2023-11-25 19:19:58
 * @LastEditors: 高月飞
 * @LastEditTime: 2023-11-25 19:20:14
 */
import Mock from 'mockjs'

export default [

    // 添加用户
    {
        url: '/api/user/add',
        method: 'post',
        response: () => {
            return {
                code: 0,
                msg: 'ok',
                data: 1
            }
        }
    },
    // 用户列表
    {
        url: '/api/user/list',
        method: 'get',
        response: ({ query }) => {
            let page = query.page || 1
            return {
                code: 0,
                msg: 'ok',
                data: {
                    users: [
                        {
                            id: '长城瓷砖计划-001',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-002',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-003',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-004',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-005',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-006',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-007',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-008',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-009',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        },
                        {
                            id: '长城瓷砖计划-010',
                            name: '长城瓷砖计划专项合同',
                            address: '吊炸天科技无限公司',
                            money: 999999999,
                            ctstate: '已审批',
                            backmoney: 9999999990,
                            write: '诺克萨斯之手-铁血将军-德莱厄斯',
                            date: '2023.11.24',
                            getdate: '9999.12.30',
                            set: '此项目必将流传千古'
                        }
                    ]
                }
            }
        }
    }

]